package com.hb.core.pojo.project.section.mapper;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hb.core.pojo.project.section.entity.BidDownRecord;

import java.util.List;

/**
 * <p>
 * 供应商招标文件下载记录表 Mapper 接口
 * </p>
 *
 * @author zhongdl
 * @since 2021-12-31
 */
public interface BidDownRecordMapper extends BaseMapper<BidDownRecord> {

    Page<JSONObject> pageDownloadRecords(Page<JSONObject> pages, Long sectionId);


    /**
     * 根据标段id查询下载记录
     *
     * @author tian
     * @date 2022-5-10 14:08
     * @param sectionId
     * @return List<BidDownRecordDTO>
     */
    List<JSONObject> listDownloadBySectionId(Long sectionId);
}
